#include "base/Demuxer.h"
#include <cstdint>
#include "base/Properties.h"

int main(int argc, char** argv) {
    Demuxer demuxer;
    PropertyBag props;
    props.set("start_time", int64_t(0));
    props.set("start_time_eof", int64_t(10));
    props.set("stop_time", int64_t(10));
    props.set("recording_time", int64_t(20));
    props.set("format", std::string("rtsp"));
    props.set("filename", std::string("rtsp://admin:admin12345@192.168.1.64:554/Streaming/Channels/101"));

    demuxer.init(props);
    return 0;
}